package borge.web.teamspirit.client.data;

import java.util.Date;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

/**
 * 
 * A IndepSerie is an independent serie entity that teams
 * create independent of any association or league.
 * This means that there the team will have to administer the
 * serie data to 100%
 * 
 * @author Andreas Borglin
 *
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
public class IndepSerie extends Serie {

	
    // Start field dependent on association type
    @Persistent
    private String iType; // Contains SerieEnums.Type name
    
    @Persistent
    private String iStatus; // Contains SerieEnums.Status name

    @Persistent
	private Date iStartDate;
    
    @Persistent
	private Date iEndDate;
    
    @Persistent
	private String iSeason;
    
    @Persistent
	private String iDivision;
    // End fields dependent on...
    
    public IndepSerie(){
    	
    }
    
    public void setType(String aType) {
		this.iType = aType;
	}
	
	public String getType() {
		return iType;
	}

	public void setSeason(String aSeason) {
		this.iSeason = aSeason;
	}

	public String getSeason() {
		return iSeason;
	}

	public void setDivision(String aDivision) {
		this.iDivision = aDivision;
	}

	public String getDivision() {
		return iDivision;
	}

	public void setStatus(String aStatus) {
		this.iStatus = aStatus;
	}

	public String getStatus() {
		return iStatus;
	}

    public void setStartDate(Date aStartDate) {
        this.iStartDate = aStartDate;
    }

    public Date getStartDate() {
        return iStartDate;
    }

    public void setEndDate(Date aEndDate) {
        this.iEndDate = aEndDate;
    }

    public Date getEndDate() {
        return iEndDate;
    }
	
}
